<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>滚动网页标题栏中文字</title>
<script language="javasript" type="text/javascript">
   <!--
	var titleWord="品天下美景-饱您的眼福"; 
	var speed=300
	var titleChange=" "+titleWord;
	function titleScroll()
	{
	  if(titleChange.length<titleWord.length) titleChange+="-"+titleWord;
	  titleChange=titleChange.substring(1,titleChange.length);
	  document.title=titleChange.substring(0,titleWord.length);
	  window.setTimeout("titleScroll()",speed);
	  }   
   //-->
</script>
</head>

<body onLoad="titleScroll()"> 

</body>
</html>
